package com.yxy.system.domain.vo;

import com.yxy.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Setter
@Getter
public class UploadTaskFileDetailVo {

    /** id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long taskId;

    /** 主机组件id */
    @Excel(name = "主机组件id")
    private Long hostGroupId;

    private Long userGroupId;
    /** 主机id */
    @Excel(name = "主机id")
    private Long hostId;

    /** 文件id */
    @Excel(name = "文件id")
    private String fileId;

    /** 文件路径 */
    @Excel(name = "文件路径")
    private String filePath;

    /** 实际文件路径 */
    @Excel(name = "实际文件路径")
    private String realFilePath;

    /** 文件大小 */
    @Excel(name = "文件大小")
    private Long fileSize;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 错误信息 */
    @Excel(name = "错误信息")
    private String errorMessage;

    private String address;

    private String  hostName;

}
